package com.gack.business.vo;

import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Transient;

import com.gack.business.model.StoreSupportFacity;
import com.gack.business.model.StoreSupportService;
import com.gack.helper.common.abstractobj.IdEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
* @ClassName: StoresVO 
* @Description: TODO(这里用一句话描述这个类的作用) 
* @author (ZhangXinYu)  
* @date 2018年6月5日 下午4:19:04 
* @version V1.0
 */
@Getter
@Setter
@Entity
@NoArgsConstructor
public class StoresVO extends IdEntity{
	private String  storeName;  //门店名称
	private String  storeAddress; //门店地址
	private Date  starttime;//营业起始时间
	private Date  endtime;//营业结束时间
	private String  supportfacity;//配套设施
	private String storeUser;//店长
	private String storePhone;//电话
	private String storeLandline;	//门店座机号码
	private String attention;//注意事项
	private String longitude;//经度
	private  String latitude;//纬度
	private  String storep_hotourl;//门店图片
	private String  onephotourl;//第一张图门店
	private String  twophoneurl;//第二张图门店
	private String  threephotourl;//第三张图门店
	private String  fourphotourl;//第四张图门店
	private String  fivephotourl;//第五张图门店
	private String  sixphotourl;//第六张图门店
	private Integer storeArea;//面积
	private String storeService;//店铺服务
	private Integer storeDeposit;	//门店押金
	private Integer storePrice;//价格
	private Integer status; //店铺状态 ：0未使用  1预约中 2使用中
	private Date createtime;	//门店创建时间
	private Integer isUse;		//0  被使用   1 不被使用（删除）  2 不被使用（冻结）
	private String province;	//门店所属省份
	private String city;		//门店所属城市
	private String area;		//门店所属区域
//	private Integer useStatus;	// 0未使用  1预约中 2使用中
//	private List<String> facityids;
//	private List<String> serviceids;
//	private List<String> facities;
//	private List<String> services;
	@Transient
	private List<StoreSupportFacity> facities;
	@Transient
	private List<StoreSupportService> services;
	
	public StoresVO(String id,String storeName,String storeAddress,Date starttime,Date endtime,String supportfacity,
			String storeUser,String storePhone,String storeLandline,String attention,String longitude,
			String latitude,String storep_hotourl,String onephotourl,String twophoneurl,String threephotourl,
			String fourphotourl,String fivephotourl,String sixphotourl,Integer storeArea,String storeService,
			Integer storeDeposit,Integer storePrice,Integer status,Date createtime,Integer isUse){
		this.setId(id);
		this.setStoreName(storeName);
		this.setStoreAddress(storeAddress);
		this.setStarttime(starttime);
		this.setEndtime(endtime);
		this.setSupportfacity(supportfacity);
		this.setStoreUser(storeUser);
		this.setStorePhone(storePhone);
		this.setStoreLandline(storeLandline);
		this.setAttention(attention);
		this.setLongitude(longitude);
		this.setLatitude(latitude);
		this.setStorep_hotourl(storep_hotourl);
		this.setOnephotourl(onephotourl);
		this.setTwophoneurl(twophoneurl);
		this.setThreephotourl(threephotourl);
		this.setFourphotourl(fourphotourl);
		this.setFivephotourl(fivephotourl);
		this.setSixphotourl(sixphotourl);
		this.setStoreArea(storeArea);
		this.setStoreService(storeService);
		this.setStoreDeposit(storeDeposit);
		this.setStorePrice(storePrice);
		this.setStatus(status);
		this.setCreatetime(createtime);
		this.setIsUse(isUse);
	}
}
